package cn.itzzx.resume.response;

/**
 * TODO
 *
 * @author Martin
 * @since 1.0
 */
public class DataResponse extends Response {

    private int count;

    private Object data;


    DataResponse(Integer code, String msg,int count,Object data) {
        super(code, msg);
        this.count = count;
        this.data = data;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static DataResponse builder(Integer code, String msg,int count,Object data) {
        return new DataResponse(code, msg,count,data);
    }
}
